package com.ruoyi.report.domain.dto;

import com.alibaba.fastjson.JSONObject;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: report
 * @ClassName: PerViewDataDto
 * @Description: 预览数据dto
 * @Author: sunyan
 * @Date: 2022/3/4 16:24
 */
public class PerViewDataDto {

    //报表id
    private Long reportId;
    //sheet页index
    private String sheetIndex;
    //查询参数
    private String queryParam;
    //
    private JSONObject page;


    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getSheetIndex() {
        return sheetIndex;
    }

    public void setSheetIndex(String sheetIndex) {
        this.sheetIndex = sheetIndex;
    }

    public String getQueryParam() {
        return queryParam;
    }

    public void setQueryParam(String queryParam) {
        this.queryParam = queryParam;
    }

    public JSONObject getPage() {
        return page;
    }

    public void setPage(JSONObject page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("reportId", reportId)
                .append("sheetIndex", sheetIndex)
                .append("queryParam", queryParam)
                .append("page", page)
                .toString();
    }
}
